package prueba;

import java.awt.Point;

import gui.MainWindow;

import agents.environment.Map;

import com.avanti.routes.Cuadrante;
import com.avanti.routes.ListaCuadrantes;

public class PruebaDiv
{
	static String fileMap = "mapajpg.jpg";

	public static void main(String[] args)
	{
		Map map = Map.getInstance(fileMap);
		Cuadrante c22 = ListaCuadrantes.getInstance().getCuadrantePorId(22);
		Cuadrante c3 = ListaCuadrantes.getInstance().getCuadrantePorId(3);
		
		////System.out.println("cActual  " + c3.getID() + ": " +  c3.getPosNW() + "." + c3.getPosSE());
		////System.out.println("cDestino " + c22.getID() + ": " +c22.getPosNW()+ "." + c22.getPosSE());
		
		////System.out.println("**************************************");

		////System.out.println("cActual  " + c3.getID() + " : " +  c3._getPosNW() + "." + c3._getPosSE());
		////System.out.println("cDestino " + c22.getID() + ": " +c22._getPosNW()+ "." + c22._getPosSE());		

		MainWindow inst = new MainWindow(fileMap);
		inst.setLocationRelativeTo(null);
		inst.setVisible(true);
		
		inst.addPoint("1", new Point(69,36));
		inst.addPoint("2", new Point(69,37));
	}
}
